package com.iotteam.androidbase.moudules.sensor_detail.model;

import com.iotteam.androidbase.base.BaseModel;

import java.util.List;

/**
 * Created by lidechen on 6/25/17.
 */

public class SensorInfoModel extends BaseModel {


    /**
     * id : 3
     * terminalid : 865067020720535
     * sim : 2345667788
     * password : d326f5
     * verifycode : 14864245
     * hardware : YJ-GPRSBOARD-V1.0
     * firmware : YJ-GPRSBOARD-V1.0-00
     * create_time : 2017-05-28 22:30:05
     * posx : 115.789
     * posy : 90.657
     * angles : 90
     * power : 90
     * ts : 2017-05-30 15:37:07
     * alertfall : 0
     * alertdefense : 1
     * locatesrc : 0
     * feedback : 2
     * message1 : 。。
     * message2 : 啊
     * message3 : 456
     * bindings : 15910992968
     * status : 1
     */

    private List<DataBean> data;

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        private String id;
        private String terminalid;
        private String sim;
        private String password;
        private String verifycode;
        private String hardware;
        private String firmware;
        private String create_time;
        private String posx;
        private String posy;
        private String angles;
        private String power;
        private String ts;
        private String alertfall;
        private String alertdefense;
        private String locatesrc;
        private String feedback;
        private String message1;
        private String message2;
        private String message3;
        private String bindings;
        private String status;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTerminalid() {
            return terminalid;
        }

        public void setTerminalid(String terminalid) {
            this.terminalid = terminalid;
        }

        public String getSim() {
            return sim;
        }

        public void setSim(String sim) {
            this.sim = sim;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public String getVerifycode() {
            return verifycode;
        }

        public void setVerifycode(String verifycode) {
            this.verifycode = verifycode;
        }

        public String getHardware() {
            return hardware;
        }

        public void setHardware(String hardware) {
            this.hardware = hardware;
        }

        public String getFirmware() {
            return firmware;
        }

        public void setFirmware(String firmware) {
            this.firmware = firmware;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getPosx() {
            return posx;
        }

        public void setPosx(String posx) {
            this.posx = posx;
        }

        public String getPosy() {
            return posy;
        }

        public void setPosy(String posy) {
            this.posy = posy;
        }

        public String getAngles() {
            return angles;
        }

        public void setAngles(String angles) {
            this.angles = angles;
        }

        public String getPower() {
            return power;
        }

        public void setPower(String power) {
            this.power = power;
        }

        public String getTs() {
            return ts;
        }

        public void setTs(String ts) {
            this.ts = ts;
        }

        public String getAlertfall() {
            return alertfall;
        }

        public void setAlertfall(String alertfall) {
            this.alertfall = alertfall;
        }

        public String getAlertdefense() {
            return alertdefense;
        }

        public void setAlertdefense(String alertdefense) {
            this.alertdefense = alertdefense;
        }

        public String getLocatesrc() {
            return locatesrc;
        }

        public void setLocatesrc(String locatesrc) {
            this.locatesrc = locatesrc;
        }

        public String getFeedback() {
            return feedback;
        }

        public void setFeedback(String feedback) {
            this.feedback = feedback;
        }

        public String getMessage1() {
            return message1;
        }

        public void setMessage1(String message1) {
            this.message1 = message1;
        }

        public String getMessage2() {
            return message2;
        }

        public void setMessage2(String message2) {
            this.message2 = message2;
        }

        public String getMessage3() {
            return message3;
        }

        public void setMessage3(String message3) {
            this.message3 = message3;
        }

        public String getBindings() {
            return bindings;
        }

        public void setBindings(String bindings) {
            this.bindings = bindings;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "id='" + id + '\'' +
                    ", terminalid='" + terminalid + '\'' +
                    ", sim='" + sim + '\'' +
                    ", password='" + password + '\'' +
                    ", verifycode='" + verifycode + '\'' +
                    ", hardware='" + hardware + '\'' +
                    ", firmware='" + firmware + '\'' +
                    ", create_time='" + create_time + '\'' +
                    ", posx='" + posx + '\'' +
                    ", posy='" + posy + '\'' +
                    ", angles='" + angles + '\'' +
                    ", power='" + power + '\'' +
                    ", ts='" + ts + '\'' +
                    ", alertfall='" + alertfall + '\'' +
                    ", alertdefense='" + alertdefense + '\'' +
                    ", locatesrc='" + locatesrc + '\'' +
                    ", feedback='" + feedback + '\'' +
                    ", message1='" + message1 + '\'' +
                    ", message2='" + message2 + '\'' +
                    ", message3='" + message3 + '\'' +
                    ", bindings='" + bindings + '\'' +
                    ", status='" + status + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "SensorInfoModel{" +
                "data=" + data +
                '}';
    }
}
